SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edb929ac26c3e99583c9eccaa87c373b78f71da6c3cc934a2c382aff6b2d9e29' 
  AND token = '34qHEsefTpTy/AfQ3mwOb3FKRHRHBADZA7Lf3GAx5+c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00055

JSON explain

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