SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd40c7f2275a4ca70cc99ab00cde9daa6eaa7aaf16db2179f081da7edcae590df' 
  AND token = 'i9DMs4pa+05utwQ6oMBBSx/Sf6iJWyzZMqFD93Bfu8o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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