SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '017772df23148771f394695152d82d2f59ae5f0d64d2a24068fc41db32854db1' 
  AND token = 't72AVC4Febl4Ivm2SEXBEElnsYBY04k+/rIZCq6QH1k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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