SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '034ebac9edb6f365f450856c900c5fa766e603d70f747b3204097cf67a63b2de' 
  AND token = 'Y54JCUavC77X5FOBvNBX5+tAcIMG5VpAMAryVYlgcrc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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