SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c312a71d7d8ba51ceed127abb248e4d9715718fe8908a1f75358b78e738a1322' 
  AND token = 'eJTSZ7jwzhsDMuSO5IgQCA+7WWdA+zVYAFX2Z2T72tw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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