SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '417f8d47b883bb197a2e8ed05ecd2e4bb80ecc634b7d2362ef9842ef5b4336fe' 
  AND token = 'D6NkbDbsn+NPrYms2vbe4GkC2d/H2DLwvdBbZgbxQ0I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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