SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f176666734c18c2511e6409d6c34a4563ce38f042f3ca425edf972bf086ea22' 
  AND token = 'i7ef8s04WJvWNDgE+CdMPalS1Wy+0Wt1smBWG5BgYP8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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