SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '219825c2a57e8f1e61f0a677c83c1a76b59c76e7141b5cf60d8d5d18909bf16f' 
  AND token = 'S1UEZCh6FGICdRljB2k+rysQ9HEx2Z3VUjPV1Kk6pBs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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