SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a411726f9686b6e9fad71ec3934db0c253dac9eaa4ba058a09c5308c023b6abb' 
  AND token = 'nNGgP40gpp0d4SL8VgF3+AVFU5dXOIrNdClEl7Gs56M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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