SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c5baffe87f551d9fc335dfe7e0f0630cccff14c45bddeeacfb4f8228e0ebaae' 
  AND token = 'PaKZJMaxFPZIWSwhwqp+3ACq3oC8g3Pgo8t0Ccgxi+8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}