SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1bf39c11cef1bb32aced738e99fe67ea8e3d5d2a99e6e2a65735016148c7316c' 
  AND token = 'hR3/T/gvx21AhYQlv6Ln3T8fYcOC8kbUBpxJosWyFq4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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