SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '804a602727aaa5eec5f1389009ccd9fcdd73d681f6914b9d2033ab57122974a0' 
  AND token = 'R6bC31a1fCacnl1lTQjB/IGYry5pjSci6DitthAuBPE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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