SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6768da60879261797fb9e164199d0ca22456fc4c805b4c748a26cfefcc7cef0f' 
  AND token = '77cBmfS8nWQlKZJ3OYP2IkTWVRhaq1X1O7+KalSGgag=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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