SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd251d5f9d6a0cea06bbbe467353ba352994881c2b1749150df4f4f1efc8b1479' 
  AND token = 'O5Wzoa5BcC37aAQoI+mbCFFjg8BP2X/nufc7gl3Dxhw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}