SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e277871b36241e1fbf43fb47304d1bb795feba23183bc4b10652389bd142c51' 
  AND token = 'zNLoGyF7+Ya+zMSBpTTttVmEOpdQraKo4n00BDA+TE4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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