SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '277af7e520591ec8d973103f0924ea5aaed0846d5415d6c72dbd6ee1790762a1' 
  AND token = 'ezJjL1aoUf2RNN7HUtO1cLGEy4iVSkkb2zSVVtO4nlE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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