SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e3ccfa0780a25411f1af30185076257a66fbe371d5205dfe8b2fa61f561e198d' 
  AND token = 'P3tznVI5S+Tj7qoeEN/WvB7PjxD2tjlLgb6WAHd4XJ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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