SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '99439542e86c39647c5cc032c57b2463c972620f411886c197b7c89f15a2edec' 
  AND token = 'gPcoMHG0wu8erbrakRCGww4Ukb74iULlR2NOLtNSc/I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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