SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6b0cc61c419614e8f90b93811b76bef1c0283777fd41493fbe3980d35f899326' 
  AND token = 'SCgcHnqiQMDEXC152tPobdY8zVfMIEyimfS4+6OwnL8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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