SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fd1665050e2fb2a8d0f36afdb4540d741cae37d519ff0831d403ea7b447e2a3e' 
  AND token = 'ZjaiWZH2JZRbo7FcH/c1r9AIlWdUS/gSmNbD1aH0RZc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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