SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c31dd32346d2093f3ed915e3247d2387147d115efedd889bac1c03a28a84177d' 
  AND token = 'hiD9raa5CWQczSgPpmTGO0xemnLXINQvxoIEI+otAYk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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