SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c507ed247b4d205b2cfbe4c2118b0e145ed8f9cc8281e91de7619323e98e4e1' 
  AND token = 'ySDitpjUgpULOend7lNf2iMSWMdJERfane6vQDJjymg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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