SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a4fca0896e5ecaad87d2923fcdf117cc0eb813ac78f261e6fe180e55118df6b3' 
  AND token = 'URk2mBArR0jd2AcHf+cGESM9egZ0oEkBpDXoeQ7ux+g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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