SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c51d8db51049406d906aa5d5c459d3d6d983f45872c054422d7381f6b6c5e0c1' 
  AND token = 'AaAsJj0LK1Ly5JiaCFa6WZQbIHqGjySs8bBiiqMFKao=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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