SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5de317e19fcb80172a9e93756d4b02f91f459d69e14af9c489428186537edb4' 
  AND token = '+Ha42GlbwDL2eetwPu51QH4xvuBTk2HwQH16wjCrbAY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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