SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddf0b040f2f7caebada0e0144dceedfdbd3e5c7b7bb4315e0a57842b1f249e8d' 
  AND token = 'lPFRh0/0upYDpudhl/OuuR+BQ1dENm1BEhfHTh+yjVc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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