SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24c02636eb88975291dbdc381abda240328256c85cabac314dfaf7ef83394a07' 
  AND token = 'yd4psGVqHo2dkQGcukz5gix3ZD+q77XDoYl/SPG8rA8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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