SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0138790ab5931ca2c58dfecd48002431260d666b10d23dc1363688f18bdaf656' 
  AND token = 'ekCg2kbKhV7k2Gjf/pGPELpc4S5aKN1W1q1sXSpN5QY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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